package vaani.internal.purple;

import java.util.Vector;

/**
 *
 * @author sourcemorph
 */

public class InstantMessageAccount {

    private String userID;
    private String protocol;
    private Vector<Buddy> buddyList;

    public InstantMessageAccount(String userID, String protocol) {
        this.userID = userID;
        this.protocol = protocol;
        buddyList = new Vector<Buddy>();
    }

    public void addBuddy(Buddy buddy) {
        buddyList.add(buddy);
    }

    public String getUserID() {
        return userID;
    }

    public String getProtocol() {
        return protocol;
    }

    public Vector<Buddy> getBuddies() {
        return buddyList;
    }
}
